HomeAbout MeContact

Replace your Title Column(Single line text) with People Picker Column using PowerApps

Published in Power Platform
November 17, 2022
2 min read
Replace your Title Column(Single line text) with People Picker Column using PowerApps

Table Of Contents

01
Create a SharePoint Lists
02
Customizing the form
03
Fixing expected issues
04
Additional Notes

Can you replace your Single Line column (or your Title Column) with a People Picker dropdown using PowerApps?

Here are the steps on how to do it.

Create a SharePoint Lists

Let’s start by creating our SharePoint List First.

Created a Sharepoint List with only a Default Title

Now let’s customize the Form using PowerApps.

Creating a new PowerApps Form to replace the default list form

Customizing the form

The https://make.powerapps.com/ page should show up, which created the Form based on the column you have in the list.

Power Apps default form

Since we wanted to replace the “Title” column with the People Picker field, we had to use “Office 365 Users”.

Adding the Office 365 Users as a Data Source

After adding the new Data source, we will insert the Combo Box components(ComboBox1) in our Form. I will add it to the Data Card on my Form.

Inserting "ComboBox" on my form

Note: If you get asked if you want to unlock your Data Card, just press “Unlock and Add”

Unlocking DataCard

Feel free to delete the existing Single Line Textbox

Delete existing single line text

Select the newly created ComboBox(ComboBox1), and on its “Items” Property, we will use the “Office 365 Users” data source we created earlier, but we will limit the item we will show.

Office365Users.SearchUser({searchTerm:ComboBox1.SearchText, top:10 })

Changing "Item" property of a ComboBox1

Once the “Item” Property is now set. We need to set the “Fields” property of our ComboBox. We can do that by Selecting the ComboBox and then clicking on “Edit” in the Fields.

Fields of my ComboBox

Depending on your requirement but I usually set this to:

  • Layout: Double
  • Primary:DisplayName
  • Secondary: UserPrincipalName (This is the email)
  • SearchField: DisplayName

Fields of my ComboBox

Fixing expected issues

The next step is fixing the error; we have to replace everything now with your ComboBox instead of the old Single Line text.xt.

For me, I need to replace the following:

Old "Y" Property Value:
"DataCardValue1.Y + DataCardValue1.Height"
New "Y" Property Value:
"ComboBox1.Y + ComboBox1.Height"

"Y" property of the default error message

Old "Update" Property Value:
"DataCardValue1.Text"
New "Update" Property Value:
"ComboBox1.Selected.DisplayName"

Note: Since I want the “Display Name” of the user I selected to go to my Title Column, I decided on the “DisplayName” Property of my ComboBox. You can replace this one with “UserPrincipalName” if you want to capture Email or any other property.

ComboxBox Update Property

Publish and Test. You should now be able to use People Picker to fill up your Title Column.

You should now be able to use People Picker to fill up your Title Column

Additional Notes

Additional Notes #1: If you only need one user, dont forget to set the “select multiple” to false in your ComboxBox, so it’s much easier for users to select a Person.

Allow multiple users property

Additional Notes #2: When you test it out, use Incognito or different browser when opening the Form from your Lists. Sometimes when you use the same browser, it will still use the Default form.


Tags

O365M365SharePoint OnlinePowerApps

Share


Previous Article
Accessing SharePoint REST API using Postman

Related Posts

Troubleshooting Power Automate -  Non-default Environment Bug in SharePoint
Troubleshooting Power Automate - Non-default Environment Bug in SharePoint
November 06, 2023
1 min

Quick Links

About MeContact Me

Social Media